import 'package:flutter/material.dart';

// 临时存放代码
class GMPetSendScreen1 extends StatefulWidget {
  const GMPetSendScreen1({super.key});

  @override
  // ignore: library_private_types_in_public_api
  _GMPetSendScreenState1 createState() => _GMPetSendScreenState1();
}

class _GMPetSendScreenState1 extends State<GMPetSendScreen1> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
        backgroundColor: const Color(0xffF8F8F8),
        appBar: AppBar(
          elevation: 0,
          title: const Text(
            '宠物档案',
            style: TextStyle(
                color: Color(0xff333333),
                fontSize: 16,
                fontWeight: FontWeight.w800),
          ),
        ),
        body: SafeArea(
          child: Column(
            children: [
              // 可滑动的页面
              Expanded(
                child: SingleChildScrollView(
                    child: Container(
                  padding: const EdgeInsets.fromLTRB(16, 0, 16, 0),
                )),
              ),
              // 底部固定高度的 Container
              Container(
                height: 74.0,
                padding: const EdgeInsets.fromLTRB(33, 0, 33, 20),
                child: InkWell(
                  child: Container(
                    decoration: BoxDecoration(
                        borderRadius: BorderRadius.circular(25),
                        color: const Color(0xffFF6A6E)),
                    child: const Center(
                      child: Text(
                        "保存",
                        style: TextStyle(
                            color: Color(0xffffffff),
                            fontSize: 15,
                            fontWeight: FontWeight.w400),
                      ),
                    ),
                  ),
                ),
              ),
            ],
          ),
        ));
  }
}
